package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.HotelDetail;
import cn.wolfcode.trip.base.mapper.HotelDetailMapper;
import cn.wolfcode.trip.base.service.IHotelDetailService;
import cn.wolfcode.trip.base.service.IHotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: Killua
 * @Date: 2018/10/13 20:12
 * @Description:
 */
@Service
public class HotelDetailServiceImpl implements IHotelDetailService {
    @Autowired
    private HotelDetailMapper hotelDetailMapper;

    @Override
    public List<HotelDetail> queryHotelRoomDetailByHotelId(Long hotelId) {
        List<HotelDetail> list  = hotelDetailMapper.selectByHotelId(hotelId);
        return list;
    }
}
